
import unittest

from framework.Function.ModbusBasicFunction import function
from testcase.Loop.Basic.station.StationPosition import ModifyWorkPosition
from testcase.Loop.Basic.process import ProcessShield, ProcessSimulation
from testcase.Loop.Basic.car.CarControl import InchMove, ToPosition
from testcase.Loop.Basic.process import MultiStationOperation
from testcase.Loop.Basic.process import ProcessSpeedAccelerationSetting
from testcase.Loop.Basic.console import TrialRun
from testcase.Loop.Basic.car.CarLogo import CarLogo
from testcase.Loop.Basic.station.MaximumBackDistance import MaximumBackDistance
from utils.Log import log

function.connect()

suite = unittest.TestSuite()

# suite.addTest(ModifyWorkPosition.ModifyStationPosition("testOn"))
# suite.addTest(ProcessShield.ProcessShield("testOn"))
# suite.addTest(ToPosition.ToPos("testOn"))
# suite.addTest(InchMove.InchMove("testOn"))
# suite.addTest(ProcessSpeedAccelerationSetting.ProcessSpeedSetting("testOn"))
suite.addTest(CarLogo.CarLogo("testOn"))

runner = unittest.TextTestRunner()

runner.run(suite)

function.disconnect()


